<template>
  <div>
    <router-view v-if="show"/>
  </div>
</template>
<script>
export default {
  data () {
    return {
      show: true
    }
  },
  provide () {
    return {
      reload: this.pageReload
    }
  },
  methods: {
    pageReload () {
      this.show = false;
      this.$nextTick(() => {
        this.show = true;
      })
    }
  }
}
</script>
